package com.ost.kautilya.modeling.weka;

import com.ost.kautilya.modeling.EvaluationMetric;
import com.ost.kautilya.modeling.ModelEvaluation;

import weka.clusterers.ClusterEvaluation;

public class WekaClusterEvaluation extends ModelEvaluation {
	private static final long serialVersionUID = 1L;

	public WekaClusterEvaluation(ClusterEvaluation ev, byte[] output) {
		super(1, output);
		setMatrix(new double[0][0]);
		setMetric(0, EvaluationMetric.LOG_LIKELIHOOD, ev.getLogLikelihood());
		setMetric(0, EvaluationMetric.NUMBER_OF_CLUSTERS, ev.getNumClusters());
	}

}